package demo.ftpclient;

import android.app.Activity;
import android.os.Bundle;

public class FtpclientActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        downloadFile();
        
    }
    
    public void downloadFile()
    {
      FtpClient.ftpDowload( "oscargo.com", "bright", "bright,1234", "test.txt", "test.txt", 21 );
//      FtpClient.ftpDowload( "127.0.0.1", "bright", "wdd123", "test.txt", "test.txt", 21 );
    }
}